package com.devplatform.service.user;

import com.baomidou.mybatisplus.extension.service.IService;
import com.devplatform.pojo.dto.ChangePasswordDto;
import com.devplatform.pojo.user.User;

public interface IUserService extends IService<User> {
    boolean register(User user);

    boolean changePassword(Long userId, ChangePasswordDto changePasswordDto);

    boolean delete(Long userId, String password, String reason);

    User getUserInfo(Long userId);
}
